home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
MRAC
/
Convert
/
c-pitch-to-integer
< prev
next >
Wrap
Text File
|
1998-08-11
|
411b
|
13 lines
c-pitch-to-integer pitch
This conversion function enables compressed pitch notation to be converted to integers where the pitch c4 is considered as zero (0). Compressed pitch notation can only be used actively when the pitch-to-symbol utility is pre-loaded.
(c-pitch-to-integer 'f#4)
=> 6
(c-pitch-to-integer '(f#4 a4 d5))
=> (6 9 14)
(c-pitch-to-integer '((f#4 a4 d5) (f4 b4 d&5)))
=> ((6 9 14) (5 11 13))